package service;
import service.OrderService;

public class OrderServiceImpl implements OrderService {
    @Override
    public void add(String pname, int number) {
        System.out.println("执行添加 " + pname + "，数量：" + number);
    }

    @Override
    public void delete(String pname) {
        System.out.println("执行删除 " + pname);
    }

    @Override
    public int find(String pname) {
        System.out.println("查询 " + pname + " 数量");
        return 5; // 模拟返回数量
    }
}
